//
//  OrderInterface.h
//  DaJiang
//
//  Created by sally on 16/10/12.
//  Copyright © 2016年 jiniu. All rights reserved.
//

#import "InterfaceBase.h"

@interface OrderInterface : InterfaceBase

- (id)init;

#pragma mark - 约见接口相关
#pragma mark - 普通用户端
//预约专家的一个话题
- (void)bookOrderWithProTopicId:(NSInteger)proTopicId
                   proTopicName:(NSString *)proTopicName
                  proTopicPrice:(CGFloat)proTopicPrice
                         proUid:(NSInteger)proUid
                        problem:(NSString *)problem
                          intro:(NSString *)intro
                         proPic:(NSString *)proPic
                        proName:(NSString *)proName
                       proTitle:(NSString *)proTitle
                     completion:(completion_t)completion
                          error:(error_t)error;

//确认付费
- (void)surePayedWithConsultId:(NSInteger)consultId
                        proUid:(NSInteger)proUid
                     cashValue:(CGFloat)cashValue
                     topicName:(NSString *)topicName
                    completion:(completion_t)completion
                         error:(error_t)error;

//用户取消约见
- (void)userCancelOrderWithReason:(NSString *)reason
                        consultId:(NSInteger)consultId
                       completion:(completion_t)completion
                            error:(error_t)error;

//提醒专家
- (void)remindExpertWithProUid:(NSInteger)proUid
                     consultId:(NSInteger)consultId
                    completion:(completion_t)completion
                         error:(error_t)error;

//评价专家
- (void)commentExpertWithComment:(NSString *)comment
                       topicName:(NSString *)topicName
                          proUid:(NSInteger)proUid
                        cmtValue:(NSInteger)cmtValue
                         topicId:(NSInteger)topicId
                       consultId:(NSInteger)consultId
                      completion:(completion_t)completion
                           error:(error_t)error;

#pragma mark - 专家端
//专家取消约见
- (void)expertCancelOrderWithConsultId:(NSInteger)consultId
                            completion:(completion_t)completion
                                 error:(error_t)error;

//专家接受约见
- (void)expertConfirmOrderWithConsultId:(NSInteger)consultId
                             completion:(completion_t)completion
                                  error:(error_t)error;

//用户失约
- (void)userMissedMeetWithConsultId:(NSInteger)consultId
                         completion:(completion_t)completion
                              error:(error_t)error;

//专家确认已经见面
- (void)hasBeenMeetWithConsultId:(NSInteger)consultId
                      completion:(completion_t)completion
                           error:(error_t)error;

#pragma mark - 我的（专家）相关
//新增修改话题
- (void)addOrUpdateTopicWithTopicId:(NSInteger)topicId
                          topicName:(NSString *)topicName
                         timeLength:(NSString *)timeLength
                          topicDesc:(NSString *)topicDesc
                         topicPrice:(NSString *)topicPrice
                         completion:(completion_t)completion
                              error:(error_t)error;

//删除话题
- (void)deleteTopicWithTopicId:(NSInteger)topicId
                    completion:(completion_t)completion
                         error:(error_t)error;

@end
